package com.feng.stateAnalysis
{
	import com.feng.ControllerCenter;
	import com.feng.data.StateData;
	import com.feng.model.Player;

	/**
	 * 形势分析基类
	 * @author 风之守望者
	 * 2013-3-30
	 */
	public class AnalysisBase
	{
		private var controllerCenter:ControllerCenter

		public function AnalysisBase(controllerCenter:ControllerCenter)
		{
			this.controllerCenter = controllerCenter;
		}

		public function get stateData():StateData
		{
			return controllerCenter.stateData;
		}

		public function get avgPlayer():Player
		{
			return stateData.avgPlayer;
		}
		
		public function get me():Player
		{
			return stateData.feng;
		}

		public function get enemyList():Vector.<Player>
		{
			return stateData.enemyList;
		}

		/**
		 * 分析形势
		 */
		public function analysis():void
		{

		}
	}
}
